//
//  PMViewController.h
//  DBAChain
//
//  Created by Evan on 2018/9/5.
//  Copyright © 2018 Evan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DKProgressHUD.h"
#import "UserCenter.h"

@interface PMViewController : UIViewController

@property(nonatomic,strong) UIImageView *supheadView;

@property(nonatomic,assign) BOOL isNeedLogin;
@property(nonatomic,assign) BOOL isPush;
@property(nonatomic,strong) NSMutableDictionary* parameters;
@property(nonatomic,strong) UIButton* backBtnImg;



///影藏头部UI
-(void)hideHeadView;
-(void)changeHeadView;

///设置通知栏为黑色
-(void)setBlackStatus:(BOOL)isBlack;

//设置默认返回按钮
- (void)setDefaultBackBtn;

//设置左导航按钮
- (void)setLeftBarButton:(UIButton*)button;

//设置右导航按钮
- (void)setRightBarButton:(UIButton*)button;

- (void)goBack:(id)sender;

//返回的tabBar的首页
- (void)goRootBack:(NSInteger)tabIndex;

@end
